/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jdbc.domain.test;

import com.jdbc.dao.impl.UserDaoImpl;
import com.jdbc.dao.impl.Usertable1DaoImpl;
import com.jdbc.daos.UserDao;
import com.jdbc.daos.Usertable1Dao;
import com.jdbc.domains.User;
import com.jdbc.domains.Usertable1;
import java.util.List;

/**
 *
 * @author 虎
 */
public class Usertest {
    public static void main(String args[]){
        
//        Usertable3 u = new Usertable3();
//        Usertable3DaoImpl udi=new Usertable3DaoImpl();
//        u.setPost("baoan");
//        u.setPost_number3(4);
//        udi.save(u);
        
        
//         Usertable1Dao dao = new Usertable1DaoImpl();
//         List<Usertable1> allUser= dao.listAll(2);
//         System.out.println(allUser);
//         Usertable1 u = allUser.get(1);
//         System.out.println(u.getBirthday());
         
        Usertable1DaoImpl udi=new Usertable1DaoImpl();
        udi.delete("444222198902238819", 2);
    }
}